import React, {Component} from 'react'
import {BrowserRouter , Link} from 'react-router-dom'

import {rlStyle , refresh} from '../../../../config/style.js'

class AdRmenu extends Component {

  render() {
    return (
        <div class="right-nav">
          <div class="rightNav-title">广告相关</div>
            <div class="menu">
            <BrowserRouter>
              <Link to="/ad/list" style={rlStyle}>
                <div class="menu-item" onClick={refresh}>广告列表</div></Link>
              <Link to="/ad/new" style={rlStyle}>
                <div class="menu-item" onClick={refresh}>新建广告</div></Link>
            </BrowserRouter>
          </div>
         
          
        </div>
    )
  }
}

export default AdRmenu